﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace BoYuan.Entity
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("SysLoginLog")]
    public partial class SysLoginLog
    {
           public SysLoginLog(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public long id {get;set;}

           /// <summary>
           /// Desc:输入的用户名
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string UserName {get;set;}

           /// <summary>
           /// Desc:登录失败后输入的密码明文
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string PwdShow {get;set;}

           /// <summary>
           /// Desc:登录成功后关联的用户id
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int userId {get;set;}

           /// <summary>
           /// Desc:ip地址
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string IP {get;set;}

           /// <summary>
           /// Desc:登录方式(1=QQ,2=Weibo,3=Weixin)
           /// Default:
           /// Nullable:False
           /// </summary>           
           public byte LoginChannel {get;set;}

           /// <summary>
           /// Desc:浏览器信息
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string BrowserInfo {get;set;}

           /// <summary>
           /// Desc:客户端系统信息
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string OSInfo {get;set;}

           /// <summary>
           /// Desc:原始客户代理信息
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string UserAgent {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime Addtime {get;set;}

           /// <summary>
           /// Desc:登录状态
           /// Default:
           /// Nullable:False
           /// </summary>           
           public byte LoginState {get;set;}

           /// <summary>
           /// Desc:备注信息
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string remark { get; set; }

    }
}
